<template>
  <div class="home">
    <HelloWorld>
      <template #tag>
        <div>这是tag插槽</div>
      </template>
      <template v-slot:footer="scope">
        <div>这是footer插槽{{ scope.slotdata }}</div>
        <div>这是footer插槽{{ scope.index }}</div>
      </template>
    </HelloWorld>
  </div>
</template>

<script>
// @ is an alias to /src
import HelloWorld from "@/components/HelloWorld.vue";

export default {
  name: "HomeView",
  components: {
    HelloWorld,
  },
};
</script>
